package com.ds.infrastructure.hyperspace.container.internal.transport;

//import io.netty.channel.kqueue.KQueueEventLoopGroup;
//import io.netty.channel.kqueue.KQueueServerSocketChannel;
//import io.netty.channel.kqueue.KQueueSocketChannel;

/**
 * @author  Weishaoying
 */
public class MacosNativeTransportFactory {}
//        implements NettyTransportFactory<KQueueEventLoopGroup> {

//    @Override
//    public Class<? extends SocketChannel> socketChannelClass() {
//        return KQueueSocketChannel.class;
//    }
//
//    @Override
//    public Class<? extends ServerSocketChannel> serverSocketChannelClass() {
//        return KQueueServerSocketChannel.class;
//    }
//
//    @Override
//    public KQueueEventLoopGroup newEventLoopGroup(HyperspaceThreadFactory threadFactory, int threadNum) {
//        return new KQueueEventLoopGroup(threadNum, threadFactory);
//    }
//
//    @Override
//    public KQueueEventLoopGroup newAcceptorEventLoopGroup(HyperspaceThreadFactory threadFactory, int threadNum) {
//        KQueueEventLoopGroup epollEventLoopGroup = newEventLoopGroup(threadFactory, threadNum);
//        epollEventLoopGroup.setIoRatio(100);
//        return epollEventLoopGroup;
//    }
//}
